/*
	Circle is a sub class of Shape.

	It has a private field  of type double that represents the radius.

	It has a constructor that accepts a single parameter of type double
	that represents the radius.  The constructor calls the Shape constructor
	to set the name to Circle.

	It has an overridden area method that returns the area of the circle.

*/

public class Circle /*ans bl*/extends Shape/*ans ab*/
{

/*ans bl*/
	private double _radius;

	public Circle(double radius)
	{
		super("Circle");
		_radius = radius;

	}// end constructor

	public double area()
	{
		return Math.PI * _radius * _radius;
	}//end area override
/*ans ab*/


}//end class Circle